# -*- coding:utf-8 -*-

from server.action.batchBase import batchBase
from server.util import sqlBuild
import uuid


class lnon(batchBase):  # 开灯（单开）
    @batchBase.idChecked
    def action(self, data, d):
        baId, lcId = data[0], data[2]

        d.callback((1, (baId, "lnon", lcId), baId))
